<!DOCTYPE html>
<html lang="en">

<head>
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta http-equiv="X-UA-Compatible" content="ie=edge">
   <title>慢慢卖首页</title>
   <link rel="stylesheet" href="./lib/fontawesome/css/font-awesome.css">
   <link rel="stylesheet" href="./css/base.css">
   <link rel="stylesheet" href="./css/index.css">
</head>

<body>
   @@include('header.html')
   <section id="search">
      <form action="">
         <input type="search" placeholder="请输入你想比价的商品">
         <input type="submit" value="搜索">
      </form>
   </section>
   <div class="main">
      <div class="main_nav ">
         <ul class="nav_list clearfix">
            <!-- 动态渲染 -->
         </ul>
      </div>
      <div class="main_recommen">
         <div class="recommen-title clearfix">
            <h5>超值折扣推荐</h5>
            <img src="./images/header_app.png" alt="">
         </div>
         <div class="recommen-list">

            <!-- 动态渲染 -->

         </div>
         <div class="recommen-more">
            <a href="javascript:;">更多优惠信息>></a>
         </div>
         <div class="recommen-title">
            <h5>品牌排行</h5><img src="./images/header_app.png" alt="">
         </div>
      </div>
   </div>
   @@include('footer.html')



</body>

</html>
<script type="text/html" id="goodsData">
   {{each result value index}}
<div class="media">
               <a href="inlanddiscount.html?id={{value.productId}}">
                {{@value.productImgSm}}
               </a>
               <div class="media-body">
                  <a href="inlanddiscount.html?id={{value.productId}}">
                     <div>{{value.productName}}</div>
                     <p class="price">{{value.productPinkage}}</p>
                     <span class="form">{{value.productFrom}} | {{value.productTime}}</span>
                     <span class="comment">
                        <i class="fa fa-commenting-o"></i>
                        {{value.productComCount}}
                     </span>
                  </a>
               </div>
            </div>
{{/each}}
</script>


<script type="text/html" id="navData">
   {{each arr value index}}
   <li>
         <a href="{{value.titlehref}}">
            {{@value.img}}
            <p>{{value.name}}</p>
         </a>
      </li>
{{/each}}
</script>
<script src="./lib/arttemplate/template-web.js"></script>
<script src="./lib/mui/js/mui.js"></script>
<script src="./lib/zepto/zepto.js"></script>
<script src="./js/index.js"></script>